/*
 * Copyright (c) 2023 Thomas Hansen - For license inquiries you can contact thomas@ainiro.io.
 */

@import "src/assets/styles/_variables/colors.scss";
@import "src/assets/styles/_variables/mixin.scss";

.log-table {
  ::ng-deep {
    th.mat-header-cell,
    td.mat-cell {
      &:nth-child(1) {
        width: 90px;
      }

      &:nth-child(2) {
        width: 50px;
      }

      &:nth-child(4) {
        width: 65px;
      }
    }

    th.mat-header-cell:first-of-type,
    td.mat-cell:first-of-type,
    td.mat-footer-cell:first-of-type {
      padding-left: 0;
    }

    th.mat-header-cell:last-of-type,
    td.mat-cell:last-of-type,
    td.mat-footer-cell:last-of-type {
      padding-right: 0;
    }

    th.mat-header-cell,
    td.mat-cell,
    td.mat-footer-cell {
      border: none;
    }

    tr.mat-row,
    tr.mat-footer-row {
      height: 33px;
    }

    table {
      width: 100%;
      table-layout: fixed;
    }

    th,
    td {
      overflow: hidden;
      width: auto;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}
